# coding: utf8
"""
:author: Tony 2015/7/29
"""
__author__ = 'Tony'


from umeng_tool.analyse import consts
from umeng_tool.analyse.utils import WeightDataSet


class DataSet(WeightDataSet):
	"""
	样本数据集合
	"""
	def init_nodes(self):
		"""
		初始化数据节点
		"""
		for activity in consts.ACTIVITIES:
			index = activity
			data = activity
			weight = consts.ACTIVITIES[activity]
			self.add_node(index, data, weight)
